package com.o2o.model.common;

import java.util.Date;

import org.springframework.stereotype.Component;

import com.o2o.base.BaseModel;

@Component
public class Announcement extends BaseModel{

	/**
	 * 首页公告类
	 */
	private static final long serialVersionUID = 7284671739852894672L;
	
	private long id;
	
	private String title;//公告title
	
	private String detail;//公告详细
	
	private long adminId;//添加公告的管理员id
	
	private Date addTime;//添加时间
	
	private String url;//公告的链接地址，可为null
	
	private int status;//公告的状态，1为显示，0为不显示

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public long getAdminId() {
		return adminId;
	}

	public void setAdminId(long adminId) {
		this.adminId = adminId;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	
	

}
